#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
'''
@File    :   redis.py
@Time    :   2022/11/25 10:22:08
@Author  :   youle
@Email   :   a_fly0505@163.com
@Copyright : 侵权必究
'''

import redis
def test():
    r = redis.StrictRedis(host="localhost", port=6379, db=0)
    r.set("foo", "bar")
    print(r.get("foo"))
